.tag-box {
  height: 62px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  .el-tabs {
    width: 100%;
  }
  .el-tabs__header {
    margin: 0;
    border-bottom: none;
    .el-tabs__nav-wrap.is-scrollable {
      padding: 0 28px;
    }
    .el-tabs__nav {
      border: none;
    }
    .el-tabs__item {
      padding: 0 16px;
      height: 30px;
      line-height: 30px;
      border: none;
      border-radius: 4px;
      background-color: #ffffff;
      margin-right: 8px;
      color: rgba(0, 0, 0, 0.6);
      &:last-child {
        margin-right: 0;
        padding-right: 16px !important;
      }
      &:hover {
        color: $main-color;
      }
      &.is-active {
        color: $main-color;
        font-weight: 600;
      }
      &.is-focus {
        box-shadow: none !important;
      }
    }
    .el-tabs__nav-prev,
    .el-tabs__nav-next {
      line-height: 30px;
      font-size: 16px;
      color: #000;
      width: 16px;
      height: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      top: 50%;
      transform: translateY(-40%);
    }
    .el-icon-close {
      transition: none;
      width: 16px !important;
      font-size: 16px !important;
      &:hover {
        background-color: #fff;
        color: $main-color;
      }
      &::before {
        transform: scale(0.8);
      }
    }
    .el-icon-star-off {
      width: 16px;
      &:hover {
        color: #ffcc46;
      }
    }
    .el-icon-star-on {
      width: 16px;
      font-size: 16px;
      color: #ffb100;
      &:hover {
        color: rgba(#ffb100, 0.8);
      }
    }
  }
}
.tag-contentmenu {
  position: fixed;
  min-width: 136px;
  max-width: 200px;
  background-color: #fff;
  z-index: 1024;
  padding: 8px;
  border-radius: 6px;
  box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.12),
    0px 4px 5px 0px rgba(0, 0, 0, 0.08), 0px 1px 10px 0px rgba(0, 0, 0, 0.05);
  .contentmenu-item {
    transition: all 0.3s;
    padding: 4px 8px;
    color: rgba($color: #000000, $alpha: 0.9);
    font-size: 14px;
    margin-bottom: 4px;
    border-radius: 3px;
    cursor: pointer;
    &:hover {
      color: #0087d6;
      background-color: #f3f3f3;
    }
    &:last-child {
      margin-bottom: 0;
    }
  }
}
